Skip to content

Conversation

itf
Copy link
Owner

@itf itf commented Sep 22, 2025

If ld.lld is invoked without the -o option, it defaults to writing its output to a.out in the current directory. This can cause 'Permission denied' errors if a test is executed in a directory without write permissions, as can happen in some build environments.

Add -o %t2 to this command, consistent with other commands in the same test file, to prevent this failure by ensuring ld.lld writes to a temporary file instead of a.out.

If ld.lld is invoked without the `-o` option, it defaults to writing
its output to `a.out` in the current directory. This can cause
'Permission denied' errors if a test is executed in a directory
without write permissions, as can happen in some build environments.

Add `-o %t2` to this command, consistent with other commands in
the same test file, to prevent this failure by ensuring ld.lld
writes to a temporary file instead of `a.out`.
itf pushed a commit that referenced this pull request Sep 23, 2025
Need this as `mlir/dialects/transform/smt.py` imports it:

```py
from .._transform_smt_extension_ops_gen import *
from .._transform_smt_extension_ops_gen import _Dialect
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant